<p>
Well done! You've just gone <%= @quiz_summary[:total_rounds] %> with some tough questioning! You scored <b><%= @quiz_summary[:score] %>%</b>
</p>

<p>You didn't get the following questions correct...</p>

<br />

<% @quiz_summary[:incorrect_questions].each do |q| %>

    <p><b><%= q.body %></b></p>

    <p>
        <b>Correct answer:</b>
        <% q.correct_choices.each do |correct_choice| %>
        <% correct_choice_index = correct_choice.to_i %>
        <ul>
            <li><%= 'abcd'[correct_choice_index, 1] %> )
            <%= q.choices[correct_choice_index] %></li>
        </ul>
        <% end %>
    </p>

<% end %>
